//
//  WCNTemperiodIdForAdd.m
//  WCN
//
//  Created by wsj2015 on 15/12/30.
//  Copyright © 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNTemperiodIdForAdd.h"

@implementation WCNTemperiodIdForAdd

-(NSDictionary *)modelToDictionary
{
//    templateId weekDayId hosptialTimeFlag
    NSMutableDictionary *dict =[NSMutableDictionary dictionary];
    dict[@"weekDayId"] =@(self.weekDayId);
  
    dict[@"timePeriodId"] =self.wcnId;
    dict[@"hosptialTimeFlag"] =@(self.timeType);

    return [NSDictionary dictionaryWithDictionary:dict];
    
}

//@property (nonatomic ,copy,setter=setId:)NSString *wcnId;
//@property (nonatomic ,copy)NSString *timePeriod;
//@property (nonatomic ,copy)NSString *amPmFlag;
//
//
//@property (nonatomic ,assign)NSInteger weekDayId;
//@property (nonatomic ,assign)WCNEfffectServiceTimeType timeType;;
//@property (nonatomic ,assign)BOOL isSelectItem;
-(id)copyWithZone:(NSZone *)zone{
    WCNTemperiodIdForAdd *model = [[WCNTemperiodIdForAdd allocWithZone:zone]init];
    model.wcnId = [_wcnId copy];
    model.timePeriod = [_timePeriod copy];
     model.amPmFlag = [_amPmFlag copy];
     model.weekDayId = _weekDayId;
     model.timeType =  _timeType;
     model.isSelectItem = _isSelectItem;
    
    return model;
    
}
@end
